package com.itheima.domain;

import java.util.Date;

public class Record {
    private Long id;

    private String bookname;

    private String bookisbn;

    private String borrower;

    private Date borrowTime;

    private Date remandTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname == null ? null : bookname.trim();
    }

    public String getBookisbn() {
        return bookisbn;
    }

    public void setBookisbn(String bookisbn) {
        this.bookisbn = bookisbn == null ? null : bookisbn.trim();
    }

    public String getBorrower() {
        return borrower;
    }

    public void setBorrower(String borrower) {
        this.borrower = borrower == null ? null : borrower.trim();
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Date getRemandTime() {
        return remandTime;
    }

    public void setRemandTime(Date remandTime) {
        this.remandTime = remandTime;
    }

    public Record() {
    }

    public Record(Long id, String bookname, String bookisbn, String borrower, Date borrowTime, Date remandTime) {
        this.id = id;
        this.bookname = bookname;
        this.bookisbn = bookisbn;
        this.borrower = borrower;
        this.borrowTime = borrowTime;
        this.remandTime = remandTime;
    }
}